home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / ansi / sdsgnr.zip / SD.DOC < prev    next >
Text File  |  1991-08-09  |  5KB  |  133 lines

  1. SD - The Screen Designer.  Version 1.5.
  2.  
  3. (Requires at least CGA color.)
  4.  
  5. Many problems are fairly simple to solve with a computer 
  6. program.  I find most of my programming time is not spent solving
  7. the problem, but making a decent looking user interface.  Likewise,
  8. many programs don't require bit-mapped graphics, but simply nice
  9. text screens.  I used to spend untold hours tweaking screens, 
  10. changing a char here and there, looking up codes for the IBM 
  11. graphics characters, etc.  This required buku re-compilations 
  12. and wasted time.  Using text screens whenever possible also 
  13. means you don't have to care what kind of graphics hardware
  14. your user has.  Also, text screens are much faster on lower
  15. powered machines.
  16.  
  17. SD is a utility that allows you to create a text screen, save 
  18. it as C source, then merge it into your C program. Source code
  19. (I use Turbo C, but Quick C should be very similar) for the C 
  20. functions you need is included. You can use any of the IBM 
  21. graphics characters and text mode colors.  40 column mode is supported.
  22.  
  23. To start the program enter SD at the DOS prompt.  You can enter an 
  24. optional start-up screen after SD on the command line.  An .scr extension
  25. is assumed and should not be added.  
  26.  
  27. The start-up attributes are white text and blue background.  Your
  28. current working attributes are not saved with screens.  You should use
  29. F9 and F10 to set your colors before beginning.
  30.  
  31. Although this is shareware you get the full-up version without 
  32. registering.  But if you don't register there will be a gypsy 
  33. cursed placed upon you, your descendents, and the town you 
  34. live in.  So unless you hate your relatives and are preparing to
  35. move please register.
  36.  
  37. Register owners will receive notice on upgrades and bug 
  38. fixes (hopefully none).
  39.  
  40. Enhancements planned include:  saving screens as QuickBasic source,
  41. Paradox PAL source, and possibly others.  Input/output fields.
  42. Pre-defined gadgets such as buttons, sliders and bar graphs made 
  43. out of text characters.  Monochrome version.  Mouse support. 
  44. File requester.  Path name support.  Import of ascii text.  
  45. "Insert" mode. 
  46.  
  47. How to use:
  48.  
  49. F1 is the help key as usual.  Most of the below is outlined 
  50. there.
  51.  
  52. F2 - F6 change character sets.
  53.  
  54.  
  55. F9:   Foreground colors.
  56. F10:  Background colors.
  57.  
  58. Menus:
  59. The arrow keys (down and right are equal as are up and left)
  60. and space bar operate the menus.  Items cannot be selected by
  61. first letter (sorry).
  62. To reach the menus press:
  63. ESC: Main menu.
  64.      Clear - clears the screen (surprise!)
  65.      Save - saves screen in a revisable form (.scr extension 
  66.             added).
  67.      Load - loads a screen.
  68.      Save C Source - saves a screen as C source.
  69.      Toggle mode - toggles between 40 and 80 columns.
  70.      Quit - guess.
  71.  
  72. A Note about screens.  Always save your screen under the 
  73. "Save" option as well as saving as C source.  Only screens
  74. saved with "Save" can be loaded again with "Load".  If you
  75. save only as C source, get the screen in your program, find
  76. you need to change it, you're out of luck.
  77.  
  78. Editing keys:
  79.  
  80. Arrow keys move the cursor.   As you move around the screen 
  81. you are always in "overstrike" mode.  The Ins key moves all 
  82. text on a line to the right, but does not toggle to an 
  83. "insert" mode.  Frequently you want to draw a box around the 
  84. outer edge of the screen.  I found that insert mode constant 
  85. messed up my boxes.
  86.  
  87. Ctrl-right arrow moves forward 5 spaces.
  88. Ctrl-left arrow moves backward 5 spaces.
  89. Ctrl-Home moves to top left corner.
  90. Ctrl-End moves to bottom left corner.
  91. Ctrl-PgUp moves to top right corner.
  92. Ctrl-PgDn moves to bottom right corner.
  93. Ctrl-Y deletes to end of line.
  94. TAB moves forward 10 spaces.
  95. Del deletes.
  96. Ins moves all text on a line to the right. 
  97. BackSpace deletes to the left just as you'd expect.
  98.  
  99. Other keys:
  100. Alt F1: Set top left of block.
  101. Alt F2: Set bottom right of block.
  102. Alt F3: Copy block. (if you try to put a block were it won't 
  103.                      fit you get a beep and no action.)
  104. Alt F4: Move block.  Note that when you move a block the whole left behind
  105.                      is filled with the current color attributes.  Make sure
  106.                      these are the colors you want before moving the block.
  107. Alt F5: Save block.  (.blk extension is added).
  108. Alt F6: Load block.  (.blk extension understood).
  109. Ctrl C: Shows current colors selected.
  110. Ctrl W: Shows current coordinates.
  111.  
  112. Files:
  113. Path names are not currently supported.  Extensions added:
  114. .scr for screens, .c for C source, .blk for saved blocks.
  115.  
  116. SDVIEW.EXE is a utility to display a .scr file.  All you do
  117. is give the file's name (no extension) on the command line:
  118. C:\>sdview myscreen
  119. will show myscreen.scr until you press any key.
  120.  
  121. One real fun use I've found for SD around the office is to make
  122. a dummy screen of an application program (123, Paradox, etc) and use
  123. SDVIEW in a batch file to show it.  When a co-worker touchs the 
  124. keyboard the application screen goes away and is replaced by a screen 
  125. containing an interesting message and/or insult.  The batch file is 
  126. simple:
  127.  
  128. SDVIEW 123dummy
  129. SDVIEW hahaha
  130.  
  131. What can I say, I'm easily amused.
  132.  
  133.